package com.bajie.bjlisten.entity.response;


import com.bajie.bjlisten.entity.BjUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class BjUserResult extends ResponseResult {
    @ApiModelProperty(value = "用户操作", example = "true", required = true)
    BjUser bjUser;
    List<BjUser> userList;

    public BjUserResult(ResultCode resultCode, BjUser bjUser) {
        super(resultCode);
        this.bjUser = bjUser;

    }
    public BjUserResult(ResultCode resultCode,  List<BjUser> userList) {
        super(resultCode);
        this.userList = userList;

    }

    public BjUserResult(ResultCode resultCode) {
        super(resultCode);
    }
}
